package cn.luckdou.system.model.global;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 杨 on 2017/10/9.
 */
public class GlobalYo implements Serializable {
    private Long id;
    private String name;
    private List<GlobalYo> children;

    public GlobalYo() {
    }

    public GlobalYo(Long id, String name, List<GlobalYo> children) {
        this.id = id;
        this.name = name;
        this.children = children;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<GlobalYo> getChildren() {
        return children;
    }

    public void setChildren(List<GlobalYo> children) {
        this.children = children;
    }
}
